package com.smart.manager.member.entities.bodys;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.member.entities.enums.PigUseKind;
import com.smart.manager.member.entities.enums.PigUseState;
import com.smart.manager.member.entities.views.MemberPigView;
import com.smart.manager.member.entities.views.MemberView;
import com.smart.manager.product.entities.enums.PigStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import java.time.LocalDateTime;


/**
 * @author leo
 * @date 2023/09/22
 */
public class RMemberMaterialPigUse {
    @EqualsAndHashCode(callSuper = true)
    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty("订单消费类型")
        private PigUseKind kind;

        @ApiModelProperty("手机号")
        private String phoneNumber;

        @ApiModelProperty("消费的工单号")
        private String workOrder;

        @ApiModelProperty("消费的状态")
        private PigUseState status;
    }

}
